package com.dys.mapper;

import com.dys.pojo.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @className: com.dys.mapper.UserMapper
 * @description: com.dys.mapper
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/10/27 18:52
 */
@Repository
public interface UserMapper {
    @Select("select * from t_user where username=#{param1} and password=#{param2}")
    User getUserByUsernameAndPassword(String param1, String param2);
}
